package kr.co.redcircle.broker;

public class Broker {
	
	public static final int UNICAST = 0;
	public static final int MULTICAST = 1;
	public static final String PARAMETERS = "parameters";
	public static final String CLASS = "class";
	public static final String INFORMATIONS = "informations";
	public static final String GET = "get";
	public static final String NAME = "NAME";
	public static final String IP = "ip";
	public static final String HOST = "host";
	public static final String TO = "to";
//	public static final String PARAMTERS = "paramters";
	public static final String NULL = "null";
	public static final String MONITOR_S = "monitor";
	public static final String ID = "id";
	public static final String METHOD = "method";
	public static final String BUSINESS_S = "business";
	public static final String FROM = "from";
	public static final String BUFFER_LENGTH = "bufferLength";
	public static final String PORT = "port";
	public static final String UNICAST_S = "unicast";
	public static final String MULTICAST_S = "multicast";
	public static final String NETWORK = "network";
	public static final String BROKER_CFG_PATH = "BrokerCfgPath";
	public static final String CID_L= "CID";
	public static final String CID_S = "cid";
	public static final String WORKER_COLLECTION = "workerCollection";
	public static final String METHOD_COLLECTION = "methodCollection";
	public static final String BUSINESS_GROUP_COLLECTION = "businessGroupCollection";
	public static final String HOST_COLLECTION = "hostCollection";
	public static final String VAR_COLLECTION = "varCollection";
	public static final String HANDLER_COLLECTION = "handlerCollection";
	public static final String XPATH_CFG_HANDLER = "/config/collection[@type='handler']/handler";
	public static final String XPATH_CFG_BUSINESSGROUP = "/config/collection[@type='businessGroup']/group";
	public static final String BROKER_NAMENODE_INFORMATION = "broker.name.node.info";
	public static final String BROKER_MONITORNODE_INFORMATION = "broker.monitor.node.info";
	public static final String NAMENODE = NAME;
	public static final String ALLNODE = "ALL";

	public static final String WORKER = "WORKER";
	public static final String MONITOR2 = "MONITOR";
	public static final String MENT = "ment";
	public static final String LINE_DIV = "\n\r";

	public static final String TERMINATE = "TERMINATE";
	public static final String RETERAL = "";
	public static final String UTF_8 = "UTF-8";

	public static final String HANDLER = "handler";
	public static final String TARGET = "target";
	public static final String ALL = "all";
	public static final String METHODS = "methods";
	public static final String RESULT = "result";
	public static final String BIZ_COLLECTION = "bizCollection";
	public static final String KEY = "key";
	
	public static final String RESULT_CODE = "result.code";
	public static final String CODE_REPOSITORY_NOT_FOUND = "code.error.repository.not.found";
	public static final String CONTENTS = "contents";
	public static final String RESULT_FLAG = "result.flag";
	public static final CharSequence FAVICON_ICO = "favicon.ico";

	public static final String REQUEST = "request";
	public static final String RESPONSE = "response";

	public static final String SOURCE_DEFAULT = "src.default";
	public static final String BUSINESS_L = "BUSINESS";
	public static final String BUSINESS_METHODS = "BUSINESS_METHODS";
	public static final String NAMENODE_S = "name";
	public static final String NAME_S = "name";
	public static final String MONITOR_L = "MONITOR";
	public static final String METHOD_GET_EXECUTE_TARGET = "getExecuteTarget";
	public static final String DOMAIN = "domain";
	public static final Object KEY_COLLECTION = "keyCollection";
	public static final String METHOD_BUSINESS_INVOKE = "businessInvoke";


}
